from sqlalchemy import Column, DateTime, Integer, String

from .database import Base


class Order(Base):
    __tablename__ = "orders"

    id = Column(Integer, primary_key=True, autoincrement=True)
    user_id = Column(Integer)
    pic = Column(String)
    out_pic = Column(String)
    type = Column(Integer)
    size = Column(String)
    pixel = Column(String)
    status = Column(Integer)
    created_at = Column(DateTime)
    updated_at = Column(DateTime)
